home *** CD-ROM | disk | FTP | other *** search
/ Space & Astronomy / Space and Astronomy (October 1993).iso / pc / viewers / mac / jpeg2gif / ppmquant_folder / readme_first.ppmquant < prev   
Text File  |  1991-11-13  |  2KB  |  47 lines

  1. Note: This is a very primitive port of ╥ppmquant╙  from the ╥pbm╙ package that was developed by Steve Posakner.  These 
  2. programs are still in the testing phase.  This program is intended to 
  3. be used as a bridge until the final versions become available.
  4.  
  5. This program selects a pallet of 256 colors and outputs a ppm file that uses the revised pallet.  This is necessary because the ╥gif╙ format can only support a pallet of 256 colors (?)
  6.  
  7. Usage:
  8.  
  9. Place the application in the same folder where the .ppm file resides.
  10.  
  11. Launch the application.  When the console dialog appears, at the 
  12. point where the cursor is positioned, enter:
  13.  
  14.     256 <file>.ppm <file>.ppm256
  15.  
  16. For example, if I have a file named ╥test.ppm╙, I would be presented 
  17. with a line like:
  18.  
  19.     ppmquant 
  20.  
  21. to which I would add to make the complete line:
  22.  
  23.     ppmquant 256 test.ppm test.ppm256
  24.  
  25. Press return or click ╥OK╙.
  26.  
  27. I╒ve included the ╥README╙ file from the original distribution.
  28. The only differences between this program and the distribution the 
  29. display of the opening copyright messages, the ╥Print the dots╙ 
  30. implementation, and changes necessary to make things run properly on the Mac.  This version was compiled from a version that was posted on ╥alt.graphics.pixutils╙
  31.  
  32. There are two versions of this program being posted.  ╥djpeg╙ was 
  33. compiled with vanilla 60000 code and no 68881 math co-processor 
  34. support.  It should run on any Mac.  The time required to 
  35. decompress a 32K jpg file into a 497K ppm file was about four 
  36. minutes (not counting the time required for the final write to flush 
  37. the output file.  The timing was done on a Mac IIci.
  38.  
  39. The ╥dpeg.020.68881╙ version has been compiled with both 68020 
  40. and 68881 code generation enabled.  It will only work on Macs that 
  41. have both of these chips.  The timing for the above decompression 
  42. was about 40 seconds.
  43.  
  44. You will also need to obtain the ╥ppmquant╙ and ╥ppmtogif╙ 
  45. programs to make proper use of this program.  They should be 
  46. posted within a couple of days.
  47.